package com.example.njupt.sqllite.database;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.example.njupt.sqllite.dao.PersonDao;
import com.example.njupt.sqllite.entity.PersonEntity;

/**
 * Author:      mwang
 * Create Date: Created in 2021/5/24 17:50
 * Update Date:
 * Modified By:
 * Description:
 */
@Database(entities = {PersonEntity.class}, version = 1, exportSchema = false)
public abstract class PersonDatabase extends RoomDatabase {
    public final static String DATABASE_NAME = "person_db";
    public abstract PersonDao personDao();
}
